import Vue from 'vue'
const tip = Vue.prototype.$tip
console.log(tip,"tip")
export const telReg = (val) => {
	let reg = /^\+?\d{1,3}?[- ]?\d{10}$/
	console.log(reg.test(val),"reg")
	if (reg.test(val)) {
		return true
	} else {
		return false
	}
}